#!/bin/bash
set -xe

# git
git config --global core.editor "vim"
git config --global user.name "virgilshi"
git config --global user.email "2338052892@qq.com"

ssh-keygen -t ed25519 -C "2338052892@qq.com"
# 复制~/.ssh/id_ed25519.pub
cat ~/.ssh/id_ed25519.pub
# 粘贴到远程机器~/.ssh/authorized_keys，若没有，则创建
